Automattic\Jetpack\Device_Detection\User_Agent_Info D

Total Complexity 383
Dependencies 0
Dependents 1
Total lines 1,731
Lines of code 1,075
Logical lines of code 671
Comment lines 465
Methods 58
Properties 7

Methods 58

Method Rating Maintainability Complexity Lines of code
get_mobile_user_agent_name()
C
37 32 70
isTierIphone()
B
36 19 89
get_blackbeberry_OS_version()
B
41 19 52
get_platform()
B
44 18 44
detect_blackberry_browser_version()
A
46 13 36
is_symbian_platform()
A
52 13 23
get_browser()
A
56 13 20
is_S60_OSSBrowser()
A
53 12 22
isTierRichCss()
A
49 9 34
is_facebook_for_iphone()
A
55 9 18
is_bot_user_agent()
A
37 4 88
is_MaemoTablet()
A
55 8 19
is_android_tablet()
A
55 8 18
is_opera_mini_dumb()
A
57 8 16
is_TouchPad()
S
58 8 15
is_iphone_or_ipod()
S
57 7 15
is_iphoneOrIpod()
S
58 7 15
is_mobile_app()
S
56 6 17
get_desktop_platform()
S
58 6 17
is_blackbeberry()
S
58 6 16
is_android()
S
58 6 16
is_ipad()
S
58 6 15
is_tablet()
S
66 7 10
is_facebook_for_ipad()
S
59 6 14
is_MeeGo()
S
60 6 13
is_WindowsPhone7()
S
60 6 13
is_PalmWebOS()
S
60 6 13
is_opera_mobile()
S
59 6 13
is_symbian_s40_platform()
S
60 6 12
is_firefox_os()
S
61 6 11
is_twitter_for_ipad()
S
60 5 13
is_J2ME_platform()
S
61 5 12
is_firefox_desktop()
S
61 5 11
is_chrome_for_iOS()
S
59 4 14
is_twitter_for_iphone()
S
60 4 14
is_blackberry_tablet()
S
60 4 13
is_kindle_fire()
S
60 4 13
is_kindle_touch()
S
61 4 12
is_opera_mini()
S
62 4 11
is_ie_browser()
S
63 4 10
is_wordpress_for_win8()
S
61 3 12
is_wordpress_desktop_app()
S
61 3 12
is_windows8_auth()
S
61 3 12
is_webkit()
S
61 3 12
is_windows_phone_8()
S
62 3 11
is_firefox_mobile()
S
62 3 11
is_wordpress_for_ios()
S
62 3 11
is_blackberry_10()
S
67 3 7
is_linux_desktop()
S
65 3 9
is_mac_desktop()
S
65 3 9
is_windows_desktop()
S
65 3 9
is_chrome_desktop()
S
65 3 9
is_safari_browser()
S
65 3 9
is_edge_browser()
S
65 3 9
is_opera_desktop()
S
65 3 9
is_Nintendo_3DS()
S
63 3 10
is_bot()
S
64 3 10
__construct()
S
68 3 7